Debugged the lineDetector and implemented color recognition for blue and red balls