Explanation: The follow line behavior have been incapsulated in a function, which make use of while(true) loop, which repeats itself forever, until a break command have been called. The break command will be called, if both the left and right IR-sensor sees black at the same time.