Added Slicing sample code