Tag codeword puzzle solver