Added minSpantree as new algorithm.