finished recursion lecture notes