Melody Generator Based On Chords