Done cube.py pseudo