Create Parser.java

The java code to parse data from a text file into Block objects