how to build your own permanent magnetic generator