Some code about combinatorial games, as discussed in Tom Morley's course on coursera