Sum of vector elements. Struct example. Use of references.