search algorithm: search for notes in major scales