added 3 n maerkov chain mips generator