finds two markov models using genetic search