Update prime check.c