add _check_node_string and _check_graph functions
Fixed failing tests
Fix pep8
Merge pull request #42 from ankurankan/dev

add _check_node_string and _check_graph functions