added longestConsecutiveSequence.java