Automated Code Compliance Checking Model for Fire Egress Codes