Began implementing methods and unit tests for TwoNodeElement class