Update longestConsecutive.java