Implemented smooth A.I patrolling