added .rubocop.yml
refactored by rubocop