The Typology of Detective Fiction