Finished CC

I had to cheat and look at the problem analysis. I think I was trying to
be TOO clever. Do as little work as possible, and no less! I forgot that
second part. Also, std::bitset is freaking sweet.