Update Parser.java

The Parser now reads data directly from a textfile.