notes for recursion.