decimal magic square solver