added a way to create a dictionary from a note list and some methods for looking up notes in the dictionary (in cmmusicobjects and cmfunction respectively)