thoughtworks homework (failure)