returns true for prime number 3
returns false for non-prime number 4