check for matching notes and durations lengths in song define command