Refactor
Fix typo
start implementation of undoMove()