Implementation of the Smith-Waterman string alignment algorithm, finding optimal alignments between proteins.