Hi,
I think there is probably a typo in example for Magnets (diagonal): The example has 1s in the lower left corner, the solution diagram has 2s.
Thanks :)