added changes to the shell, making less bugs possible by checking inputs and the memory
Merge branch 'master' of https://github.com/liuyuqi/pintos-freshstart