Completed stand alone version of tic tac toe