Added undo when clicking on enemy occupied square that is an illegal move.