refactoring

To promote resuability and portability, refactor nt_table and score matrix to
be generated by functions in ssw.c.  This will make it easier to implement
partial order alignment.
node construction, prev/next addition
more restructuring

Seeking a simpler solution to passing around alignment seeds.  Code cleanup,
nothing much more.