this is test of a dictionary compression method basically it matches a set of letters to a certain index and then adds it to an encoded string (along with a second string telling how long each part is)