https://learnprogramming.in.net/longest-consecutive-sequence-in-an-array-in-python/