Adding heap data structure