Added a function block

Function block is local and self contained. Determines greeting to
customer based on the temperature.