Robot programming exercise 2 -pt2

Committing Amars version of the second part of the exercise   :)