Fixed the long loop in runTitanicAnalysis

Changed the loop constraint to have a upper limit of 10 by default and can be changed further