pgrmGCF
This tests the four cases for the different sign values of A and D.
Case 1: A and D are positive
Case 2: A is positive and D is positive
Case 3: A is negative and D is negative
Case 4: A and D are negative
I store the value as U. This will be the coefficient of x on one of the binomials.