how do i define a list in maple x[] of variable size which i can then append elements to using op()? this is causing my a lot of trouble having to use slow workarounds

would be very grateful for some help