Generator of random melodies as a source for composition