added method to assign a specific color to a piece
adding method to play a move, swapping the type of two pieces