How to use magnets to make DC generator?