Fixing errors given by valgrind
Rewriten the huge_integers library