functions-demo

demonstrating how functions work and the access specifiers of the
functions. Also the implementation of the functions using loops and
conditional statements