Finished higher order functions chapter