A simple Game of Nim implementation for teaching.