change Piece class so location is two variables