Checkpoint : Extracting sub array whose elements add up to given sum.