finished programming all cantus firmus rules up to rule 4