recursion exercises is easier than I thought