algorithms for parallelism lecture 14 9780769