added type handling for Answer class
corrected handling (task is not done ^(