Pakistan beat Lanka to reach U19 WCup quarter finals