Revert "Implement print tasks method for debugging"

This reverts commit 73d1def55a35fdd0b392179086caf56d56299346.
Revert "Fixed bugs"

This reverts commit 26be792d8d2b99884894a03b1fea3751564dbd26.