Difference between an Electromagnet and a Permanent Magnet