updated calc-pi
list#sum and iterator#sum can calculate with any type of objects