Discrete HMMs Using Deep Learning Libraries - Theano Scan Tutorial