Implementation of console based Tic-tac-toe game.