Add compare_heap_node().
Replace Makefile to Rakefile.