Make a diagram of an electromagnet. Label and explain how each components work.​