Music Generator Based on Markov Chains