Create LongestConsecutiveSequence.java

Use the hashMap to record all the numbers so that they can be index in constant time. Then for every number, extend to the left and right as far as possible to get the longest sequence