finished recursions section 1