Implement createCube(x, y, halfWidth, halfHeight)