Finished markov alg test. To test webservice simulation.