added prime factor program

The factor program has been added which
will find the prime factors of the given
numbers.