Initial lzss implementation