Tic Tac Toe written in C