if you know how to randomly generated numbers i'm pretty sure its the same concept but you know in squadraints rather than lines