revise gitignore
add comments to read_xml and change var name
add two tests counting notes (including rests, ties)