fix Makefile cmd case;
add check1() function for invalid inputs;
use new check1() function;
fix typos, show new functionality;
document changes and version bump;