Added more utilities for listing and counting (in)complete problems.
Also made mark_(in)complete check to make sure a problem doesn't get added
twice.