add solution for level order traversal