preOrder(current, callback) {
    if (!current) {
      return;
    }
    if (typeof callback === 'function') {
      callback(current);
    }
    this.preOrder(current.left, callback);
    this.preOrder(current.right, callback);
  }
Pre-order traversal from the given node.