Added a few comments to Titanic example