Homework 6 Solutions

add should be a recursive function. I don't think your approach works.