Finished Task21: Find first triangle number to have over 5000 divisors

Optimize program with prime factorization.