GeneralizedHarmonic Takes two integer command-line arguments n and r and uses a for loop to compute the nth generalized harmonic number of order r