write recursion exercise and intro