added the add function

gonna need add, really useful for a calculator.