Create diversity.rb

Allow loading of the entire library by requiring a single file.
Some fixes for errors discovered by running rubocop -l
Merge pull request #2 from lasso/master

Create diversity.rb and some fixes for errors discovered by rubocop