Realloc and fixes
Added in a--sort of--realloc in case we need it. It may be better to just vmalloc a large chunk and grow later if needed.

Issues:
   There is still an issue with the algorithm generating the perfect numbers.