Wrote a Miller Rabin prime tester. It's in the ownLibs folder