Add another algorithm for common sequence search