Code sample from college: Reversi game, cat's vs. dogs.