Algorithm For Prime Number Program In C