Merge pull request #5 from cjhanrahan/master

check_flags moved, prog_name added
Merge pull request #6 from cjhanrahan/master

integrated exec
Added redirect handling and changed execve to execvp
Merge pull request #7 from gwhere/master

Redirects
error checking for invalid commands, prompt with current directory, fixed argument