remove random example of a dog class using inheritance