finish the 2nd function: parseargs
part2 basic finished. support excute cmd on another machine