Updated CubedRoot.py

Added the ability to handle negative numbers.