Experimental study of Shor's factoring algorithm using the IBM Q Experience