The Memorymanagement DOES work but setting f[i]=ptr in memset does NOT
work
uncommented memtest (memtest is not working, malloc is)