Melody generation upgrade

The beginning note of each bar is unisson or fifth of the fundamental chord played at the same time.
The notes can only be second, third, seventh or sixth compared to the previous one.