Create trees and check if they are homeomorphically irreducible