Switched to using compare_pi_pj for the pattern.
Added actual assert code for testing m_match.
Using search trees instead of rereading text.
Fixed tests for compare_pi_tj.