Update Driver.java

Add output to .txt