Agent-Based Approach To Retrospective Analysis Of Aviation Accidents