Implementation of Minimal Spanning Tree with Krukal