Create functions.h

Its the header file which is included in all other C/C++ files.