Moved pair struct to markov.h