higher order functions (jacob)

addes notes to explaine the higher order function.