Added loop to print label HMM assigned to time segment