min span tree works if

roads built from least to highest cost regardless of what its
connnecting