Sketch of Baum-Welch (EM) algorithm
for estimating HMM parameters
given unaligned (or even unlabelled) training data