roll out find_one_factor for loop
add Test function to Makefile
add rtdsc.h file
undo threading, it was slow