addition of array elements as numbers
common elements in 2 sorted array