SICP Exercise 1.31: Product of a Series