Added print header functionality

Now the headings of the keys processed can be printed to the csv output
as well by passing the -h (heading) flag.