a magnet has a north and a south pole