4 describe how a magnetic separator works