Procedural Generation "Accessed None" error

Good it finally generates. If you copied my code exactly, every instance spawns 100 units higher each time, so it was just meant for a test. Just put in the grid code now.