level order linked list solution 2