working algorithm to detect can on one side of the area if its provided
that light- (color-)sensor is placed on middle lane at the start.
underwent some changes without testing so may not succeed yet