Simulating line following with color sensor