implement sequence alignment
global alignment