Worked on Magic Square.