Better argument reading and added handling of opening the infile and oufile

Need help figuring out how to assing FILE *'s.