Leetcode Check If Number Is Prime