public void addUnordered(int firstIndex, int secondIndex) {
    if (!myData.contains(createPair(firstIndex, secondIndex, true)) &&
        !myData.contains(createPair(secondIndex, firstIndex, true))) {
      myData.add(createPair(firstIndex, secondIndex, false));
    }
  }
public void addUnordered(int firstIndex, int secondIndex)