Final step to complete tic tac toe main function