learning c programming through a basic implementation of Tic-Tac-Toe