How did Hans Christians Oersted founded this electromagnet after further investigation?​