This program demonstrate better usage of slices