Create LongestConsecutive_sol2.java