still making some tests. did a bugFix on heapfy function