How to Store Data on Magnets the Size of a Single Atom