Adding another method for find sum of 2 array