Create Candy.cpp

This is a program question in Leetcode.