Functioning console tic tac toe