BinaryCode - first candidate solution