N-body dark matter haloes with simple hierarchical histories