moved neighborhood calculation into one method.
beginning of borderchecking for grouping over the edges.
added applyForce method to flock, to add a force to all boids
random seed can be set in the parameters
UP,LEFT,DOWN,RIGHT keys to apply a force to the whole flock