Added the whichNote and makeNoteDictionary functions to the main code