Traverse the entire list to find out if it has 1 item?

    elems match {
      case List(one) => one
      case other => createTuple(other)
    }