A Java class for simulating adder addition