Explorations: Spanning Tree Algorithm