Does multi level substitutions
Removed nil error that occurs during double and triple substitutions
Fixed minor generation bugs. System now takes in lead, accent and substitution lists and outputs possible secondary accompaniment.

Next step is to vary different possible substitutions to increase choices.