Added logic for getting status of tic tac toe game