framework for modexp_tb. [not working]