DOne with prims. Maybe I need to optimize this or build in Python