HW2 first commit
parse cmdline; error check; stream.c