An elementary treatise on geometrical optics