Implement IndexedHeap, add variable args DebugMsg()