Added a followLine function to work with line sensors