Task scheduling work done, should be correct, hackerrank giving all solutions 0/10 even when reusing code that got 6/10