Solved Longest Consecutive Sequence Problem