Source: http://web.eecs.utk.edu/~cphill25/cs594_spring2017/presentations/minimum-spanning-trees.pdf