Fixed the long loop in runTitanicAnalysis

Changed the loop constraint to have a upper limit of 10 by default and can be changed further
Merge pull request #8 from gokul-uf/master

Fixed the long loop in runTitanicAnalysis