Update

Some updates to the program, and also added an output.txt file.