Modified prifiling code to include console output for long profiling feedback.
Fixed a bug in the resizeHeap funtions. Partitioned Profiling into cases to just profile a single section. TODO: Split Code into functions.