Code for problem "Longest Consecutive Sequence".