create cpu.v test bench generator

Most of the test benches tested the cpu
in the same way just with different assembly
code.  To eliminate this duplicate code a
generator was created.