Updated euler008.c