Problem 11

(Funny difference in timing of get_product function with pure specifier and
without it. Ratio is about 10.)