Create HexFunctions.js