Add array sum method

Paired with Danielle for this challenge.