FOUNDATION OF EUCLIDIAN AND NON-EUCLIDIAN GEOMETRIES ACCORDING TO F. KLEIN