added a little HMM example showing how to incrementalize the factors