creating nxn_io

These are I/O utilities (nxn_io_getline).  Needed for
implementation of nxn_cfg.