New file functions.cpp:

Added two simple functions