Local And Global Sequence Alignment Algorithm