solved looping-is-recursion excercises