Added Hex class

Might not need this...