fixed encode and findInDictionary functions
written lz78 decode function
fixed lz78 encode and decode funtions. working encode and decode