Update polymorphism.cpp