Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree — CaffeCode