added ysh.c; minor change to main.c