Made all Tuple classes final, added equals, hashCode and toString to all Tuple classes