Tic Tac Toe with Magic Square Algorithm