Programmed robot to follow