Create friend1.cpp

Example of friend function in c++