Solution to add two numbers