polynomialtoderivative Takes a polynomial in a string format where each value is separated by a whitespace (e.g. "x^4 + x^2 - 3") and calculates it's derivative.