+ Added 'break' parameter to correctly exit the recursion when iter is not > end
+ Outputs correct result