Magnets and Motors: earth’s magnetic field and testing an iron bar