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