level traversal of a binary tree