Add a node creation function to network constructor

This is necessary for users of this library, I just forgot about it!