Added and implemented Parser.java