Detect Prime Number.