TreeSet contains method added