Add Monad class and map() and flatMap() to Iterable.