Create hex.py