code: function arrayToKey(arr) {
    result = "(";
    arr.forEach(function(x) {
      result += x + ", ";
    });
    result = result.substr(0, result.length - 2) + ")";
    return result;
  }
docs: Calculates a key (string) that can be used for a map