wrote a shell program to find prime number from a given number