Changed the way the parse table is created

The parse table will be encoded by retrieving the corresponding code
for each token.