Boundary Wall On Topography

Hello, I am trying to create a boundary wall script per the video on YT. I am a beginner so please bear with me. I managed to get a few nodes out, but for some reason I can get the nodes at the beginning right and the code block is wrong?? I am working from this video. I can’t read the end of the script and I am sure no-one can’t. So I am asking for help in finishing the script. Thanks

This video is like a book with some pages missing at the end…
I suggest you take another source for learning Dynamo, if that is your goal.
If its just creating the Wall, there is plenty on that here in the forum.