Create Bidirectional_Counter.c

This is the complete C program for the 8051 microcontroller based entry exit detector.