Wrote code to pass all delete candy tests.