Implementation of Mafia structure (tree)