Solved recursion excercises