created the dinosaur class