Added support for number literals in hex notation

I had the need to accept numeric literals in decimal or hex. Here is my patch for allowing numbers to be also expressed using a "0x" prefix. For example: 0x1a2b3c.