This is my solution to the Titanic probem on Kraggel