Tag - sum of two arrays in java