Cleaned code a bit. Capped framerate at 60 with pygame.time.Clock class. Can now handle about 40 boids.