added control to adder2
added simple multiplication
added some modular arithmetic