Create longestConsecutive.java