Added get functions to Point.java