Create max_sum_of_consecutive_numbers_in_a_list

The list consists of several random numbers. I am adding consecutive numbers and finding out the maximum sum of all consecutive number additions.