Added classes for each HMM problem