Continuous sequence with largest sum finder implemented