Revised version of LL1 parser implementation using java