Implementing various scenarios for Task Parallel Library TPL in c#