takes the board state and the newest piece, and returns the new state
takes the board state and the newest piece, and returns the new state