Added some implementation code to the Node and Link files.