Fix example for vectors.

No more Vec::get() method in rust.