New code for Maxheap. Very similar the processing-file. Segmentation fault on line 69 (when pos = 9 and j = 19).
Added comments in Maxheap.cpp