added factor.c sample from http://nopedotc.com/ homepage