a simple C++ project showing how to overload functions