Fixed rubocop offenses for chapter_3