Good. Now, look at it this way. You have a bar magnet, with north and south poles, or at least that's what we call them. And the opposites attract, and same poles repel. You can make an electromagnet, by winding coils of wire around an iron bar. North and south, depending on which way the current flows. Now, all you have to do is switch current direction, at the right moment, and an armature will spin. Yeah, a very simplistic explanation, the devil is in the details.