More efficient prime number detection
Merge pull request #1 from regisb/master

More efficient prime number detection