added implementation of Point.java