patrolling_sim for Groovy v2.0.3 by Luca Iocchi, with several corrections and nice updates