input and output redirection working
added error checking
pipe started
piping
input and output redirection done, only piping left
added test script and finished main as far as i could
updated README