cleaned up code, made sure they passed the tests.  Had to fix the for loop for the add function.