added basic algorithm for generating super simple melody lines