Create inheritance1.cpp