added a sample program to find the number of divisors of a number efficiently