Add prime number algorithms.