Added isHexadecimal

Added ````isHexadecimal()```` function, with tests