A Dynamic Evaluation Tool of Well-Construction Safety