Assignment #8: Basic Robot control

 Writing  Functions