rubocop errors and class 4 ex1