Split up tic tac toe code, needs classes and stuff