Dinodex oop

Refactored the code based on inputs and comments from Sophia.
the each_item is kind of generic. You can have the variable read dino so that we know it's a dinosaur.