added calc4b.cpp example. less use of auto, more like subrules.