implement runtime calculations for some project Euler problems