Magnets to generate perpetual motion