to setup-food
set-default-shape turtles "dot"
repeat num-food
[patch-at random-pxcor random-pycor [cro 10 [fd radius set color blue]]]
;that was my first attempt
;now for the second one
layout-circle turtles radius
repeat num-food
[ setxy random-pxcor random-pycor
foreach range 25 [y -> ask turtle y
[ foreach range (24 - y) [x -> create-link-with turtle (x + (1 + y))]]]
]
end