ALU with function

  1. Design the ALU circuit as given in the theory section.