finished siftDown and corrected some errors
added comments