added unlimited undo

now it is possible to undo all moves in a game