[STYLE] Added rubocop

- Add rubocop to Gemfile
- Add custom rubocop.yml file to main dir
- Let rubocop automatically fix problems