Finish off higher order functions chapter