Add accessors for the inputs of a node, so that we can change
the representation without breaking everything.
Merge pull request #71 from Obvious/nick-accessors

Add accessors for the inputs of a node, so that we can change the representation without breaking everything.