Negative Cube Function Python Programming