Gate array hardware implementations of sequence alignment algorithms