added the heap class and the random array class. Still working on the  actuall profiling of the generated code.