Demo code for the Kaggle Titanic problem