Parsed updated to work with rests. Rests treated as 'type' of note.