c tictactoe beautifying