Code showing usage of namespaces in C++