modified to print directly in function and did multiplication instead of division as well as added more testbenches