Added extension to write name of variables
Added licence
Replaced WriteLine to print variable names