Working through Titanic data set example