code for optimal search alignment searching local areas of similarity