Added example that avoids obstacles