Fixed file path in complete example. Switched to use of size_t to avoid unnecessary casts in functions.cpp