add check for empty arg header in ham.cc
finish single-machine parrallelization

with <--n_procs> option