Entry for the Kaggle competition for calculating passenger survival on the Titanic