C Program to implement Traffic Lights and Moving a box in a square.