Function for adding two numbers.