Composing with Magic Squares