Early version of C tictactoe