Negative Cube Function Python Code