Create longestConsecutiveSequence.java