Added additional fields to the program.c/h files

… to handle redirection and piping