Initial rubocop file
Tidied up code using rubocop autocorrect