How to make a train with a magnet