1. New utility function for optionals, mapOptOrElse().  Make use of it in a few  places.
2. Make the node constructors public.