Create function_library.py

functions to execute the program