heapify

according to the class explanation..ve to work on improvin it