/// <summary>
 /// Constructor specifying link to next node in the list.
 /// </summary>
 /// <param name="value">Value being represented by this node.</param>
 /// <param name="next">The next node.</param>
 protected SingleLinkedNode(T value, SingleLinkedNode <T> next)
     : base(value)
 {
     SetNext(next);
 }