some Prime check and search utilities written in C