matrix multiplication the simple alg.
HeapSort