Compose a Melody to a Given Chord Progression