write a function that returns the sum of two numbers java