add C version of heatmap and shell-based mpstat preprocessor