Project Euler 12

Finds first triangular number with over 500 divisors. The program uses
the fact that consecutive products are coprime.