http://www.archimedes-lab.org/game_nim/play_nim_game.html