Added C++ implementation of 06-candy-factory.

You will have to compile (make) the program before running the test.