generate all codes
implement solving by narrowing search space to patterns that give the same score as the guess against the real pattern if the guess were the real pattern