get(key) {
    const node = this.tree.get(key) || undefined;
    return node && node.data();
  }
Gets the value out of the map
Runtime: O(log n)
@param {any} key
@returns {any} value associated to the key, or undefined if there is none.