Two small programs to average tabular data across columns