correction in compareTo in Point, and corrected sorted method in Brute