--- category: - Puzzles - Games from: http://rosettacode.org/wiki/Nim_game