impemented primitive data structures for mst
broke
works