Added a heap in Ruby