use of magnets in separating mixtures