added hex validator
Merge pull request #8 from gonzalovazquez/hex-validation

added hex validator