Updated euler004.c