This uses the Leibniz formula, and is EXTREMELY slow; It takes 5 billion prime calculations just to get 10 digits!