I have been trying this for a while and I haven\'t been able to make this code print to a .txt or .out file. I have added the libraries, correct parameter requirements (I think)