A simple library for representing an HMM