added find largest contiguous subsequence algorithm