added functional mersenne prime searcher
(much better than the C version)