Library for handling Lempel-Ziv-Storer-Szymanski compression algorithm