A device and method using an electromagnetic generator for generating magnetic fields to repel or attract permanent magnets which are placed in a specially configured mold comprised of a slotted non magnetic material attached to a base plate of non magnetic material. The permanent magnet