logic design revision part 3 arithmetic circuits