renamed trafficlight.c to TL.c as specified on learn, added logging to file