Update linefollow.cc

Added a simple switch-case statement for the sensor readings