eight bit adder from petzoid's code