Blocks set automatically to points (Stadium seats) Solved

This is such a useful script, I’m trying to use it in grasshoppers Python Script Editor, but i’m not too sure as to how to call the Variables (points and block) into the x & y of the component. Any help ?