Math with arrays

For this exercise, we will write 3 functions for doing array math: