HMM
 - readModelFromFile(String fileName) implemented
 - writeModelToFile(String fileName) implemented