Example prime checker.