Changed the choose_direction method with a working weighting algorithm
The default parameters looks to be working and can generate a loop pretty often and quickly
Let's play with these parameters in the next commits ;)