adding a simple tool to pivot a table of key, column pairs into a table of key, c1, c2, ... with 1s and 0s