replaced sleep() with a correct implementation
added a simple bl2 program