Add Function to CutTheRope