BAPC training 2019 week 3: Graphs -- Toposort and MST