Adds panic functionality to the memory allocation. Heap size is now passed as a parameter to the program by runtime. Minified static codes added.