Magnetized wire could be used to detect cancer in people