Adds flag value to applicable compounds

def add_flag_values(self, entry, flag):
        ''' Adds flag value to applicable compounds '''
        if flag in self.flags:
            self.flags[flag].append(entry)