when two magnet repet they​