Fixed Rubocop styling and syntax issues on DinoDex project

Take a look, let me know what you think. :)