Added Lempel-Ziv factorization of prefix