changed the interface of point.java from Comparable<point> to Comparable<Object>