added prime, checks primality of a number
a file