add license information
parse command-line arguments (not working)
update TODO
add ParseArg.m
use "Check" function correctly
expected failure should not crash the script