Implement a function that takes two numbers as input and returns their sum. This is needed for the calculator app functionality.