Terminal Based Tic Tac Toe game