added code for initializing ADC10 and for checking the left sensor and for getting input from any sensor
added code for checking the right sensor