Add a method to get all the node id.
Merge pull request #6 from turn/personal/thomas/nodeIds

Add a method to get all the node id.