basic tic-tac-toe with gui