Wrote first draft of graph-based HMM aligner.