Factoring Perfect Cubic Polynomials