Print tree by level order