Fix #2 Update few codes

This gives you a minimal terminal, works all possible commands, including a new shell inside this program, also runs commands with parameters and then exits when user hits exit. Fixes #2
Merge pull request #3 from cyberhck/patch-1

Fix #2 Update few codes