added summary for an array of numbers.