Tic Tac Toe in C