accessing adding of two numbers method from different class