algs4: some example