Changed the node numbering scheme to a consecutive one; this makes it a lot easier to use node IDs as indices into an array.