finished uniqueGen v0 and updated intGen.h with destroy operation