putting all the points in a hash
made point and line methods