Sum Of Two Integers using TreeSet