Verilog 0764, hw2a: basic_gates