algorithm for finding local sequence alignments