Submission for the Titanic competition on Kaggle