use Structures : all; int main() { a = [1,2,3]; b = [a, a, a]; z = 0; x = [0,0]; for( i = 0; i < 3; i++) { z = [x]; x = x + i; } return( z); }