gmpy isn't actually needed for #8
Problem #9 is in the bag.
Problem #10 is in the bag.