For replacement with "Curve.endpoints" in Dynamo

Hello Everyone,
Hope You are doing well,

Here I am Trying to do home work/ Practice with the Help of YouTube Videos Please Refer the Video provided in Below link, change Revit Grid Extends,
Please Check the Google Drive Links for youtube reference Link,
only 1 link is allowed here for new user so i can’t updated here.

I have Almost Done 90 Percent of it but i stuck at last,
please Find the Images in Below Link
https://drive.google.com/drive/folders/15sauIGeRyILeb9yV0W2crGVMlsykY9VG

It is Showing me Nothing when i Run the script, can anyone Help me with this?
Y this Nodes has Change to One Output, In video it is showing 4 outputs in “Curve.endpoints” Node
What is the Replacement for This Node?

Thanks,
Ummar Khan