Create README.md

the b array contain the sum till that index as calculated in dp  (finding the maxsum ) and the the array c helps us to find the occurrences of the maximum sum and. In the end we sum up the values of c at those indexes where maximum sum was calculated.