Exercise 35 (Slices) from tour.golang.org