C - Tic-tac-toe