added HalfLife class and changed readme file