added algo to add two numbers