adding rubocop gem and fixed all styling issues