Markov chains - the stocks regime switching model