add docstring
whitespace
add tests for get_node()
raise NoSuchNode when trying to get non-existent node