add program to demonstrate using functions
add program to demonstrate control-flow statements