use C++11 rewrite 2-06 arr_sum.cc