Adding implementation + unit tests for a node class.