class Pair {

    @Override
    public String toString() {
        return "(" + (left == null ? "NULL" : left.toString()) + ", " + (right == null ? "NULL" : right.toString()) + ")";
    }

    public  Pair(T left, U right);

}