calculate the distance at which the rover should stop moving forward when there is an object in front of it
defined max speed of motors in a variable
added debug mode
bugfix: check if calculated distance value is not the value of NO_ECHO
set max motor speed to 255
turn off motors by calling "run" method with RELEASE parameter