move locate locations and rotate_right into parent Piece class