Added some more problems in c, and made sure to call mpz_clear when working with
gmp. Added #include <gmp.h> to the c template since I use it so much lately.
Made ls_(in)complete return the list in numerical order.