Exploring the functional programming paradigm with an exercise in Tic-Tac-Toe.