Documented titanic functions
Refactored titanic functions
Refactored printCommands
Refactored printCommands
Merge pull request #5 from bahalps/work

Refactored printCommands