File boids.py modified in order to satisfy the standard style given by pep8
Introduced test for boids.py to check whether it respects the standard style given by pep8
Removed raw numbers from the initial configuration of the flock, replaced by suitable variables
Removed raw numbers from the function update_boids(), replaced by suitable variables
Removed raw numbers from the plot functions, replaced by suitable variables
Function fill_list created to fill the initial lists of position and velocity of birds. Function fly_toward_middle created. To evaluate the distance between two points, hypot has been imported from math
Function fly_away_from created to replace the repeated code in the second for loop
Replaced the word bird with boid in order to be consistent with the rest of the program
Function match_speed created to replace the repeated code in the third for loop
Function move_boid created to replace the repeated code in the fourth and last for loop
Variable names xs, ys, xvs, yvs replaced, respectively, with pos_x, pos_y, vel_x, vel_y
Long code for evaluating the distance between two points removed from the if, and put inside a function distance()
Added test for the unit function fly_toward_mid()
Added test for the unit function fly_away_from()
Added test for the unit function match_speed()
Added test for the unit function move_boid()
Added test for the unit function distance()
Instead of using a list of 4 list such as pos_x pos_y vel_x vel_y, replaced with a list of dictionary, each of them representing a boid. All the program boids.py have been modified consequently
Test for the function fly_toward_mid() modified to satisfy the new format
Test for the function move_away_from() modified to satisfy the new format. Also, used yaml to avoid repeated code in the tests