Exercise: implement the my_sum function