Train work

Added another min span tree algo