TicTacToe in C