Processing Array Elements In D