Minimum spanning tree bug fix

This fixes a bug in the MST. The problem was that the edges of the MST didn't have the correct structure, i.e. a `numpy.array` of edges' pairs where the first item of each edge is the parent and the second is the child. This solves this problem by using BFS.