Prime Number Using Function