add testing
use suffix tree in prs_compress_st
update readme.md
check pattern length before calling longestmatch