count number of dead tasks when benchmarking sequential msp implementation

Number of dead tasks == number of pruned paths. required to compare to sequential execution of parallel algorithm
use a define for default weight limit
Graph::write needs to be marked const to be able to print const Graph