Line Following Sensor Algorithm