MagicSquare and simpletest added