some algorithms to compress text