compiling: make

usage: main < chan.hed

results: see res8
