added hexadecimal test and example files

Pretty much just followed the test files for octal, let me know if you want any other test cases, or if you're not a fan of the example file.