design a function in a program of your own and describe, in detail, the flow of program execution with respect to program flow. be sure to include passing variables and returning value in your discussion