adding maths using recursion