How to store data on magnets the size of a single atom