I\'m currently trying to get two inputs into a text file. I\'ve completed this bit, however, when I want to exit the program, the "exit" message also prints into t