Pulled defined functions into a .py file
modified to import functions.py