Change number_of_non_leaf_nodes() argument from heap_list to heap_length.