Dinodex oop

Refactored the code based on inputs and comments from Sophia.
I'm noticing that only the dinosaur name is being saved here. The requirements are that the dinosaur information be printed out when outputted.