add insertSort and finding the longest consecutive sequence in a list of numbers