print one tree per generation