adding harmonic series generator