a tool for finding the rational roots of a polynomial using the rational root theorem