Introduction - If you have any usage issues, please Google them yourself
Magic squares
A 3 × 3 square whose cells contain every digit in the range 1–9 is said to be magic of the sums of the rows, the sums of the columns and the sums of the diagonals are all equal numbers.
Write a program that generates all magic squares.