Write Magic_Square