recursion exercise

errors fixed and file name changed