A typological evaluation of arrow slits among elements of military architecture in the medieval period