Determines the index where an item appears
matchSet(x, table)
x
the item to find
table
the object to search
the index of where the item appears, or -1 if it isn't present