Integrated final life expectancy calculation from yourRank.py into the algorithms module. Fixes #12.