added heap example