Update Parser.java

added a parsing example