added new problem for finding a sum in an array