Added debug print statements. Checking to see if Jeff's original method
output different values than Dan's method.