Create C program to find prime factor