Added Loops class with factorial methods
Added Loops class with factorial methods