added bag of tasks solution to rep also some updates to no_barrier