Implemented cube root function, like the square root function
from prior exercise.