'Look for codes that do no not appear in the coded text and add them to
the list of free codes.'

def _free_unused_codes(self):

    for i in xrange(256):
        if (i not in self.unused_codes):
            if (chr(i) not in self.coded_txt):
                self.unused_codes.add(i)
