The Elements of non-Euclidean Geometry