rename 2.5 to match section from dragon book
ignore binaries at top level
test for spaces in input