¿Cómo se recorre un vector y una matriz?