Negative Cube Function Python