Added Dead lock simulation class