added array sum program