Adding two new versions: one using taskloop with dependences and another using tasks with dependences.
mentioned in commit 2170c49f