public WordNode(string word, int steps, WordNode pre) { this.Word = word; this.Steps = steps; this.Previous = pre; }
public WordNode(string word, int steps) { this.Word = word; this.Steps = steps; this.Previous = null; }