add sample programs for heapfile