Justice Tariq Masood, Justice Mazhar Alam take oath as ad hoc judges