2014-10-30 add recursive algorithms linearsum==>sum of all value in an
array