Exercises from lists and recursion (partial)