added heap leaves and internal qns
merge