Check If A Number Is Prime Or Not Leetcode