pub fn parse_and_iterate(loop_counter: i32, number: i32, num_of_digits: i8) -> i32