Added field testing for Aho-Corasick algorithm.
Added more robust line segment intersection code.