implemented list#flat, list#walk, iterator#flat, iterator#walk methods
implemented list#flat, list#walk, iterator#flat, iterator#walk methods