Mersenne prime finder using GMP