The structure of nearby clusters of galaxies - Hierarchical clustering and an application to the Leo region