Fix Position(Position p) constructor

I fixed the Position(Position p) constructor in Position.java file.