Added Example and Tests for the Accumulate exercise

What do these comments signal? Is this an idiom in Swift?