An Introduction to Different Types of Permanent Magnets