MagicSquare Problem + state; BFS(graph)

implemented example problem and Breadth First Search