Added equals function to Tuple