Using Magnets to Find Directions