add path printing
style fixes
Merge pull request #6 from danielb2/path

add path printing