Create generic_wattmeter.c

First version