what types of force can a magnet exert on the another magnet