added Set.java functions to tuples