Add a helper function to print info about the slice.

tour.golang.org/#34

Signed-off-by: Thiago Farina <tfarina@chromium.org>