Kaggle Titanic project in R