commit of working tic tac toe logic with function x and o pieces. Still super ugly but functioning nevertheless