added rubocop setting file
modified following rubocop advice