Added example on Comparator Interface
update