add method is now able to take multiple numbers as inputs