Adds move validiation when submitting a move. Throw an exception when trying to submit an invalid move