added starts of a makov chain generator