Merge pull request #21 from chris-hudson/generation

Add probabilistic chord generation, comply with PEP8