Added statements to only allow numeric values to be added
Added a condition that you cannot divide by zero