Collision Free random moving robots with priority scheduling