A simple implementation of Tic-Tac-Toe in iOS