Adding prime counting sample in C