Minimum degree algorithm
matrix manipulation algorthim