added goal
modified header to use __typeof__
added Min Cost Arborescence