Made linkNodes(...) return a boolean indicating whether the specified link already existed
Added test to assert correct behaviour when adding the same link twice.
Moved linkNodes(...) exception throwing code up.
Converted assert statements to throw an UnknownNodeException, and added javadoc to linkNodes(...).
Fixed a compilation error.