Functionality for training phoneme based HMM models
(Assignment 8)