Adding example of specifying unique node ids and edge weights.
Merge pull request #4 from sandsfish/master

Adding example of specifying unique node ids and edge weights.