Fix solution to problem #9 (returned sum instead of product)