commonSubexpressions function

Common 'greeting' carried across several expressions