Updated Heap. Now heap is based on array, instead of ArraList. In current version array is not resizable