added Java implementation of the python Point class