Check If A Number Is Prime Leetcode