add problem 41!
effectively stop running miller-rabin, performance better