Updated functions.py to a functional version (I am really funny!) and removed regexes.re