Magic Squares and Cubes