Add isPrime function
Implement isPrime in misc.c
warning report stdbool.h is needed. Don't know why. Anyway added.
Implement mooc4-1 question