Project euler 4 C