adding parallel sum example