uploading forward-backward and train mdhmm code