#204 refactored puzzle duplicate detection