using shell_puts instead of write and fix a bug

1)Add new file shell.c & shell.h which could be used to

support shell enviroment.

2)a little change of Makefile.

3)move strcmp, strlen, puts to shell.c and shell.h