Flexible instruments for a snake-like robot