Output Redirection

Output redirection for most functions has now been implemented in
main(). Still having trouble getting standard Linux commands to redirect
output. For whatever reason, they see the redirection stuff as part of
the command.