Magic square task