lifetab function

Create cohort life table