Given a list of integers, return a new list where each element is the sum of itself and all previous elements in the original list.
[1, 2, 3, 4, 5]
[1, 3, 6, 10, 15]
Bot