fixed a typo which was causing same accuracy for all possible configs
another step toward success!
Lots of small changes + big one (iterate over unlabeled + test in
sample())
added evaluate() method for evaluating the sampler