Markov chain-based approach for the chord generation See notebook: Markov_chain_for_chords_generation