Implemented isPrime(), but bloom filters seem broken