Create inherit.cpp