Checkmagic and Magicsquare