Create light-sensor

This code is used to count the amount of lines above the threshold value calculated that the robot drives over with the use of a light sensor