Scala project for generating music exercises