simplify nodeStr function
assert nodeStr function input
Merge pull request #83 from vslinko-forks/master

simplify nodeStr function