euler added function to calculate product of a series, added solution to problem 9, other edits