cleaned block parsing and tested with test5.csv, per #47