Given an array of positive integers and a target value, return true if there is a subarray of consecutive elements that sum up to this target value.
Input: Array of integers, target value
Output: Boolean
Input: [6,12,1,7,5,2,3], 14 => Output: true (7+5+2)
Input: [8,3,7,9,10,1,13], 50 => Output: false
Time Complexity: O(N)
Auxiliary Space Complexity: O(1)
All elements are positive