Scanner and Parser that accepts or rejects file based on mini Java grammar.