Added Dead End Elimination. Not integrated yet.