Only allow valid moves. Closes #15
Merge pull request #16 from hyperbotics/prevent-invalid-moves

Only allow valid moves. Closes #15