Part A: Set up

Save NetLogo file into the directory
Part A: Globals and Turtles

R code for subdirectories globals and turtles.