Stuff works
Really lazy programming and I should not hard-code settings but hey it works
also all of the boids end up on different z-levels because the map does not actually wrap around, it only wraps around in the drawing stage (when all coordinates are subject to a modulo to fit them within the screen)