Game of Tic Tac Toe on the command line