Adds first draft of python implementation of survival analysis.