java solution to Add Two Numbers