Magnetic nanorobot for cancer treatment