Add ability to undo last move