Simple implementation in rails of TicTacToe game.