add support for hexadeximal numbers in the parser grammar

This pull request fixes #125.