Extracting Patterns in Music for Composition via Markov Chains