Leetcode Check If A Number Is Prime