Code for kaggle contest. Titanic 101