refactoring, made a getSum() method for when there are two or multiple numbers
refactoring... removed else if and used getSum instead.