completed first pass on a basic single-region contig aligner