Prime Number Using Functions