Heap data structure for Elixir