Java Array Adding Elements In Tuple