add convenience methods
Merge pull request #12 from walkermalling/primes

add convenience methods