Added Point2 class and unit tests