Tic-Tac-Toe game written in C