Pregunta de entrevista de Block

Write a solution to the magic square problem