Function Functionality to Dynamic version of the program

Added in the functions that will be called. Actual functions are located under dynamicFunctions.cpp and will be copied over after being bugtested.