code: def add_patterns(self, dir_name, pattern_lines):
          
          for pattern_line in pattern_lines:
              self.pattern_list.add_filename_pattern(dir_name, pattern_line)
docs: Add patterns the should apply below dir_name
          :param dir_name: str: directory that contained the patterns
          :param pattern_lines: [str]: array of patterns