Added rubocop to Gemfile; stylistic code updates.