Added a example f polymorphism in c++ using virtual fucntion