hist_v in progress, K&R < 1.7 Functions done