Update GamePieces.java

illegal move, get x and y of gamepiece, added constructor values in order to get the x y