some basecode, under construction
added n-heap parent and child functions