You are struggling with a lot of basics.
It might help to go through the Modelab Grasshopper Primer:
Grasshopper Primer — Mode Lab