Fixed Rubocop styling and syntax issues on DinoDex project

Take a look, let me know what you think. :)
Curiously enough spaces around params in blocks are bad according to the style guide, even though most everywhere else they're considered good. Go figure. :smiling_imp: