List item in Grasshopper Query

Hi guys. I am new to grasshopper and after countless attempts, I couldn’t find a solution to solve this script that I was practicing from learning from you tube.

My query is how can I reduce the script. List item’s item “i” “i+1” and so on are annoying. What should I use? (19.8 KB)

Flip Matrix (10.0 KB)

Your Rotate component is doing nothing since all angle values are zero? Oh, I see the effect of the slider now.