life.expectancy function

Estimate life expectancy from mortality rates